Skip to content

Fix PDO quote return type #4113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025
Merged

Conversation

VincentLanglet
Copy link
Contributor

Closes phpstan/phpstan#10512

Closes #2926

Use a benevolent union as recommended here: #2926 (comment).

@ondrejmirtes ondrejmirtes merged commit 148972e into phpstan:2.1.x Jul 21, 2025
415 of 420 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PDO::quote() string|false - Strict comparison using === between string and false will always evaluate to false.
2 participants